/**
* 版权声明：厦门睿商网络科技有限公司 版权所有 违者必究
* 日    期：2020-08-02
*/
package com.rzico.order.entity;

import com.rzico.basics.entity.BomItem;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.persistence.*;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * <pre>
 *   套餐配送计划数据库对象
 * </pre>
 * @author Rzico Boot
 * @version 1.0
 */
@Data
@JsonIgnoreProperties(value = {"handler"})
@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "wx_order_plan")
public class OrderPlan{
    @Id
    @ApiModelProperty(value = "" )
    protected Long id;

    @ApiModelProperty(value = "创建日期" )
    protected java.util.Date createDate;

    @ApiModelProperty(value = "修改日期" )
    protected java.util.Date modifyDate;

    @ApiModelProperty(value = "配送日期" )
    protected java.util.Date planDate;

    @ApiModelProperty(value = "条码/货号" )
    protected String sn;

    @ApiModelProperty(value = "商品名称" )
    protected String name;

    @ApiModelProperty(value = "单位" )
    protected String unit;

    @ApiModelProperty(value = "商品规格" )
    protected String spec;

    @ApiModelProperty(value = "缩略图" )
    protected String thumbnail;

    @ApiModelProperty(value = "套餐表" )
    protected Long bomId;

    @ApiModelProperty(value = "配送序号" )
    protected Integer seqno;

    @ApiModelProperty(value = "状态 {0:待配送,1:配送中,2.已完成}" )
    protected Integer status;

    @ApiModelProperty(value = "订单" )
    protected Long orderId;

    @ApiModelProperty(value = "客户" )
    protected Long memberId;

    @ApiModelProperty(value = "产品编号" )
    protected Long productId;

    @ApiModelProperty(value = "企业编号" )
    protected Long enterpriseId;

    List<BomItem> itemList = new ArrayList<>();


}
